{extend name='common/common' /}

{block name="style"}
<style type="text/css">
    .container-fluid .btn.btn-sm{
        float: right;
        margin-left: 10px;
    }
    .container-fluid{
        padding-right: 0px;
    }
    .col-sm-12{
        padding: 0px;
        margin: 0px;
        text-align: center;
    }
    .clear{
        clear: both;
    }
    .orde_ass_title{
        border: none;
        margin: 0px;
        padding: 0px;
        min-height: 20px;
        text-align: center;
    }
    .orde_ass_title:nth-child(3){
        margin-top: 25px;
    }
</style>
{/block}

{block name="content"}
<div class="wrapper wrapper-content animated fadeInRight">
    <!-- Panel Other -->
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>订单和流水详情</h5>
        </div>

            <div class="ibox-title orde_ass_title">
                <h6>订单详情</h6>
            </div>
            <table class="layui-table">
                <colgroup>
                    <col width="50">
                    <col width="200">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                </colgroup>
                <thead>
                <tr>
                    <th>ID</th>
                    <th>订单号(收据号)</th>
                    <th>姓名</th>
                    <th>报考学院</th>
                    <th>就读专业</th>
                    <th>层次</th>
                    <th>制度</th>
                    <th>教育模式</th>
                    <th>缴费方式</th>
                    <th>总金额</th>
                    <th>支付方式</th>
                    <th>上交平台</th>
                    <th>订单状态</th>
                    <th>创建时间</th>
                    <th>所属咨询师</th>
                    <th>创建人</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td><?=$ordeInfo['id'];?></td>
                    <td><?=$ordeInfo['order_sn'];?></td>
                    <td><?=$ordeInfo['stu_name'];?></td>
                    <td><?=$ordeInfo['school'];?></td>
                    <td><?=$ordeInfo['major'];?></td>
                    <td><?=$ordeInfo['gradeN'];?></td>
                    <td><?=$ordeInfo['systemN'];?></td>
                    <td><?=$ordeInfo['acquisition_modeN'];?></td>
                    <td><?=$ordeInfo['payment_methodN'];?></td>
                    <td><?=$ordeInfo['total_amount'];?></td>
                    <td><?=$ordeInfo['pay_typeN'];?></td>
                    <td><?=$ordeInfo['cross_platform'];?></td>
                    <td><?=$ordeInfo['statusN'];?></td>
                    <td><?=$ordeInfo['c_time'];?></td>
                    <td><?=$ordeInfo['consultantN'];?></td>
                    <td><?=$ordeInfo['createN'];?></td>
                </tr>
                </tbody>
            </table>
            <div class="ibox-title orde_ass_title">
                <h6>流水详情</h6>
            </div>
            <table class="layui-table">
                <colgroup>
                    <col width="50">
                    <col width="200">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                    <col width="150">
                </colgroup>
                <thead>
                <tr>
                    <th>ID</th>
                    <th>订单号(收据号)</th>
                    <th>流水单号</th>
                    <th>姓名</th>
                    <th>金额</th>

                    <th>流水状态</th>
                    <th>创建时间</th>
                    <th>更新时间</th>
                    <th>完成时间</th>


                    <th>创建人</th>
                    <th>经办人</th>
                    <th>是否异常</th>
                    <th>备注</th>
                </tr>
                </thead>
                <tbody>
                <?php foreach($ordeInfo['account'] as $value):?>
                <tr>
                    <td><?=$value['id'];?></td>
                    <td><?=$value['order_sn'];?></td>
                    <td><?=$value['account_sn'];?></td>
                    <td><?=$ordeInfo['stu_name'];?></td>
                    <td><?=$value['total_amount'];?></td>

                    <td><?=$value['status'];?></td>
                    <td><?=$value['c_time'];?></td>
                    <td><?=$value['update_time'];?></td>
                    <td><?=$value['finish_time'];?></td>


                    <td><?=$value['create_name'];?></td>

                    <td><?=$value['agent'];?></td>
                    <td><?=$value['abnormal'];?></td>
                    <td><?=$value['remarks'];?></td>
                </tr>
                <?php endforeach;?>
                </tbody>
            </table>
            <div class="col-sm-12">
                <a  href="javascript:;" onClick="javascript :history.back(-1);">
                    <button type="button" class="btn btn-primary btn-sm" style="width: 82px;height: 34px;">
                        返回
                    </button>
                </a>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>
<!-- End Panel Other -->
{/block}

{block name="script"}
<script type="text/javascript">


</script>
{/block}
    